<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
    <title>客户管理</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.2/css/all.min.css" rel="stylesheet">
    <link rel="stylesheet" href="/static/weui/weui.min.css">
    <link rel="stylesheet" href="/static/weui/default.css"/>
    <link rel="stylesheet" href="/static/client/css/clientsearch.css"/>
</head>
<body>
<div class="page">
    <div class="page__bd_spacing">

        <div class="weui-cell card">
            <div class="weui-cell__hd">
                <i class="fa fa-search" style="width:20px;margin-right:8px;display:block;color:#0066ff"></i>
            </div>
            <div class="weui-cell__bd weui-cell_primary">
                客户搜索
            </div>
            <div class="weui-cell__ft">新增/查询</div>
        </div>



    </div>
</div>


<!--
<form class="page form_page" action="{% url 'client:clientSearch' %}" method="post">
    {% csrf_token %}
    <div class="weui-form">
        <div class="weui-form__bd">
            <div class="weui-form__text-area">
                <h2 class="weui-form__title">搜索客户</h2>
                <div class="weui-form__desc">
                    请输入客户名称已确认客户是否已在库中
                </div>
            </div>
            {% if errormsg %}
                <div class="dialog" role="dialog" id="confirmDialog" aria-hidden="false">
                    <div class="weui-mask"></div>
                    <div class="weui-dialog">
                        <div class="weui-dialog__hd">
                            <strong class="weui-dialog__title">操作确认</strong>
                        </div>
                        <div class="weui-dialog__bd">{{ name }}，{{ errormsg }}，需要新增吗？</div>
                        <div class="weui-dialog__ft">
                            <a role="button" href="javascript:" id="cancelBut"
                               class="weui-dialog__btn weui-dialog__btn_default">取消</a>
                            <a role="button" href="/client/client/add?name={{ name }}"
                               class="weui-dialog__btn weui-dialog__btn_primary">新增</a>
                        </div>
                    </div>
                </div>
            {% endif %}
            <div class="weui-form__control-area">
                <div class="weui-cells__group weui-cells__group_form">
                    <div class="weui-cells">
                        <div for="nameInput" class="weui-cell weui-cell_active">
                            <div class="weui-cell__hd"></div>
                            <div class="weui-cell__bd">
                                <input id="nameInput" class="weui-input" placeholder="输入客户名称" name="name"
                                       required>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="weui-form__control-area">
                <div class="weui-form__opr-area">
                    <input role="button" class="weui-btn weui-btn_primary" type="submit"></input>
                </div>
            </div>
        </div>
        <div class="weui-form__ft">
            <div class="weui-form__extra-area">
                <div class="weui-footer">
                    <p class="weui-footer__text">Copyright © 2024 QHDUHU.COM.</p>
                </div>
            </div>
        </div>
    </div>
</form>
-->
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script type="text/javascript" src="https://res.wx.qq.com/t/wx_fed/weui.js/res/1.2.19/weui.min.js"></script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript">
    $(function () {
        $('#cancelBut').on('click', function () {
            $('#confirmDialog').fadeOut(200);
            $('#confirmDialog').attr('aria-hidden', 'true');
        });
    });
</script>
</body>
</html>
